<%--
  Created by IntelliJ IDEA.
  User: 14SR
  Date: 2020/8/19
  Time: 14:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%String path = request.getContextPath();%>
<!DOCTYPE html>
<html lang="zh-CN" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <script src="<%=path%>/static/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="<%=path%>/static/js/login.js">
    </script>
    <script src="<%=path%>/static/js/path.js"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>会员登陆</title>
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="<%=path%>/static/css/login_view.css" >
    <link rel="stylesheet" href="<%=path%>/static/css/base.css" >
    <script src="<%=path%>/static/js/wxLogin.js"></script>
    <script src="<%=path%>/static/js/global.js"></script>
    <script src="<%=path%>/static/js/head.js"></script>
</head>

<body>
<div class="header">
    <div class="width_1200 clearfix">
        <div class="header_right right_f">
            你好
            <div class="item uname" v-if="user"><c:if test="${sessionScope.user==null}"><a href="login.jsp">请登录</a></c:if>
                <c:if test="${sessionScope.user!=null}"><a href="homePage.jsp">,${sessionScope.user.userName}</a></c:if></div>
            <div class="item">欢迎来到i学习！</div>
            <div class="item" ><a href="registration.jsp">[注册]</a></div>
            <div class="item" onclick="exitLogin()">退出</div>
            <div class="item service">客服中心</div>
        </div>
    <div class="main">
        <a href=""><div class="logo"></div></a>
    </div>
</div>
</div>
<div class="login_main" id="vue_body">
    <div class="main">
        <div class="login-box">
            <div v-else id="logintype">
                <div class="nav_tab">
                    <div class="title" style="margin: 20px 20px"></div>
                    <div class="login-tip" >

                        <div class="poptip">  账号登录
                            <div class="poptip-arrow"><em></em><span></span></div>

                        </div>
                    </div>
                </div>
                <div class="account" v-show="logintype=='account'">
                    <table>
                        <tr height="70">
                            <td style="text-align: left">用户名：</td>
                            <td><input type="text" id="userLoginName" name="userLoginName" value=""  class="l_user" /></td>
                        </tr>
                        <tr height="70">
                            <td style="text-align: left">密&nbsp; 码：</td>
                            <td><input  id="userPassword" name="userPassword" type="password" value=""   class="l_pwd" /></td>
                        </tr>
                    </table>
                    <div id="pwdmsg" class="msg"></div>
                    <div class="submit" onclick="login()">登录</div>
                </div>
                <div class="h0"></div>
                <div class="loginmore" v-show="logintype=='account'||logintype=='mobile'">
                    <div style="float:left;">
                        <a href="registration.jsp" style="font-size: 16px; margin-left: 10px">注册</a>
                    </div>
                </div>
                <div class="h0"></div>
                <div class="h0"></div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
<jsp:include page="/include/foot.jsp"></jsp:include>
</body>
</html>
